<?php
/**Mysqli测试类
 * Created by PhpStorm.
 * User: wuz
 * Date: 2016/8/22
 * Time: 20:55
 */
include "mysqliClass/MysqliClass.php";
mysql_query("set names utf8");
$mysql = new  Ycf\Lession\Sql\Mysqli\MysqliClass();
$mysql->connect('localhost', 'root', '123456', 'test_db');
$insert = [
    "studentName"      => "李四",
    "age"    => 15,
    "gender" => '男',
];
$mysql->insert($insert, 'student');